<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../Css/logincss.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>忘记密码</title>
</head>
<style>
	.input{
				font-size: 18px;
				width: 260px;
				height: 40px;
				border: none;
				border-radius: 10px;
				margin-top: 40px;
				margin-left: 65px;
				border: 1px solid #e2e2e2;
			}
</style>
<body>
<header>
			<img src="../img/logo.png" />
			<ul>
				<li><a href="Public/index1.html">首页</a></li>
				<li><a href="javascript:alert('请先登录或注册！');">填写问卷</a></li>
				<li><a href="javascript:alert('请先登录或注册！');">联系我们</a></li>
			</ul>
			<div id="lr">
				<a href="login1.html">登录</a>
				<p>|</p>
				<a href="regist.jsp">注册</a>
			</div>
</header>
<div id="log">
	
		<form action="http://localhost:8080/research/QueryPswQue" id="form">
			<div id="logg">
				<p><a>找回密码</a></p>
			</div>
			<input name="id" maxlength="11" id="id" class="input" placeholder="请输入您的账号">
			<input id="denglu" onclick="check()" type="button" value="密保找回">
	<%-- 		<a href="http://localhost:8080/research/QueryMail?id=${id }"> --%>
		</form>
		<form action="http://localhost:8080/research/QueryMail" id="form1">
			<input name="id" maxlength="11" id="id1" class="input" placeholder="请输入您的账号">
			<input id="denglu" onclick="check1()" type="button" value="邮箱验证找回">
		</form>
</div>
</body>
<script>
function check(){
	var id=document.getElementById('id').value;
	if(id==''){
		alert("账户不能为空！");
		return;
	}
	else{
		var form=document.getElementById('form');
		form.submit();
		return;
	}
}
function check1(){
	var id=document.getElementById('id1').value;
	if(id==''){
		alert("账户不能为空！");
		return;
	}
	else{
		var form=document.getElementById('form1');
		form.submit();
		return;
	}
}
</script>
</html>